package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.Picture;

@Repository
public interface PictureDAO {
	public Set<Picture> findAllPictures();

	public Set<Picture> findAllPicturesOfBT();

	public Picture findPictureById(Integer id);

	public Picture findPictureByResourcepath(String resourcepath);

	public Integer addPicture(Picture picture);

	public Integer updatePicture(Picture picture);

	public Integer deletePictureById(Integer id);
}
